package com.raymond.sgip.config;

import com.raymond.client.config.ClientSocketConfig;

/**
 * @author :  raymond
 * @version :  V1.0
 * @date :  2022-11-04 15:43
 */
public class SgipClientSocketConfig extends ClientSocketConfig {
    /**
     * 登录类型，1字节
     */
    private short loginType = 1;
    /**
     * 登录名，16字节
     */
    private String loginName = "";
    /**
     * 密码，16字节
     */
    private String loginPassword = "";

    private int gateId;
    public SgipClientSocketConfig(String id, int windowSize, String host, int port, String loginName, String loginPassword, int gateId) {
        super(id, windowSize, host, port);
        this.loginName = loginName;
        this.loginPassword = loginPassword;
        this.gateId = gateId;
    }


    public short getLoginType() {
        return loginType;
    }

    public String getLoginName() {
        return loginName;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginType(short loginType) {
        this.loginType = loginType;
    }

    public int getGateId() {
        return gateId;
    }

    public void setGateId(int gateId) {
        this.gateId = gateId;
    }
}
